package com.easytake.emotioncat.exception;

import lombok.Getter;
import lombok.Setter;
import org.springframework.http.HttpStatus;

@Getter
@Setter
public class AuthorException extends Exception {

    String errorMsg;

    int code = HttpStatus.UNAUTHORIZED.value();

    public AuthorException(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
